//
//  BigImageCollectionViewCell.m
//  微客
//
//  Created by 汪的一声就哭了！ on 2016/10/28.
//  Copyright © 2016年 刘成. All rights reserved.
//

#import "BigImageCollectionViewCell.h"
@implementation BigImageCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.scrollView.minimumZoomScale = 1;
    self.scrollView.maximumZoomScale = 2;
}
- (void)layoutSubviews
{
    self.contentView.frame = self.bounds;
    self.scrollView.frame = CGRectMake(0, 0, self.contentView.bounds.size.width, self.contentView.bounds.size.height);
    self.scrollView.contentSize = CGSizeMake(0, 0);
    self.imageView.frame = CGRectMake(0, 0, self.scrollView.bounds.size.width, self.scrollView.bounds.size.height);
    self.label.frame = CGRectMake(0, self.contentView.bounds.size.height-70, self.contentView.bounds.size.width, 21);
}
@end
